package org.x.yuenovel.controller.param;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author xuezhendong
 * @date 2022/4/23 12:23 下午
 */
@Data
public class SendEmailCaptchaParam {

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空")
    private String captchaCode;

    /**
     * 验证码key
     */
    @NotBlank(message = "验证码key不能为空")
    private String captchaKey;

    @Email
    private String mail;
}
